﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interface_Tier;
using Transfer_Object_Tier;
using System.Data;
using Data_Access_Tier;


namespace Business_Tier
{
    public class HRM_SALARYData : MarshalByRefObject, IHRM_SALARYData
    {
        HRM_SALARYData SALARY = new HRM_SALARYData();

        public int HRM_SALARY_Delete(Guid SalaryTableListID, string EmployeeCode)
        {
            return SALARY.HRM_SALARY_Delete(SalaryTableListID, EmployeeCode);
        }
        public int HRM_SALARY_Disable(Guid SalaryTableListID, string EmployeeCode, ref bool Enabled)
        {
            return 1;
        }
        public System.Data.DataSet HRM_SALARY_Get(Guid SalaryTableListID, string EmployeeCode)
        {
            return SALARY.HRM_SALARY_Get(SalaryTableListID, EmployeeCode);
        }
        public System.Data.DataSet HRM_SALARY_GetList()
        {
            return SALARY.HRM_SALARY_GetList();
        }
        public int HRM_SALARY_Insert(Guid SalaryTableListID, string EmployeeCode, decimal MinimumSalary, double CoefficientSalary, 
            decimal BasicSalary, decimal InsuranceSalary, double StipulatedTime, double WorkHour, double LateEarlyHour,
            decimal MinusLateEarly, decimal MinusMoney, decimal AllowanceInsurance, decimal Allowance, decimal TotalSalary,
            decimal SocialInsurance, decimal HealthInsurance, decimal UnemploymentInsurance, decimal Insurance, decimal Union,
            decimal IncomeTax, int NumberDepend, decimal DependMoney, decimal IncomeTaxRemain, decimal IncomeTaxMoney, 
            decimal RemainSalary, decimal Advance, decimal Assignment, decimal SalaryPlus, decimal SalaryMinus, decimal Salary, 
            decimal SalaryPay, decimal SalaryDebt)
        {
            return SALARY.HRM_SALARY_Insert(SalaryTableListID, EmployeeCode,MinimumSalary,CoefficientSalary,BasicSalary,InsuranceSalary,
                StipulatedTime,WorkHour,LateEarlyHour,MinusLateEarly,MinusMoney,AllowanceInsurance,Allowance,TotalSalary,SocialInsurance,
                HealthInsurance,UnemploymentInsurance,Insurance,Union,IncomeTax,NumberDepend,DependMoney,IncomeTaxRemain,IncomeTaxMoney,
                RemainSalary, Advance, Assignment,SalaryPlus, SalaryMinus,Salary,SalaryPay,SalaryDebt);
        }
        public int HRM_SALARY_Save(Guid SalaryTableListID, string EmployeeCode, decimal MinimumSalary, double CoefficientSalary, 
            decimal BasicSalary, decimal InsuranceSalary, double StipulatedTime, double WorkHour, double LateEarlyHour,
            decimal MinusLateEarly, decimal MinusMoney, decimal AllowanceInsurance, decimal Allowance, decimal TotalSalary,
            decimal SocialInsurance, decimal HealthInsurance, decimal UnemploymentInsurance, decimal Insurance, decimal Union, 
            decimal IncomeTax, int NumberDepend, decimal DependMoney, decimal IncomeTaxRemain, decimal IncomeTaxMoney, 
            decimal RemainSalary, decimal Advance, decimal Assignment, decimal SalaryPlus, decimal SalaryMinus, decimal Salary,
            decimal SalaryPay, decimal SalaryDebt)
        {
            return SALARY.HRM_SALARY_Save(SalaryTableListID, EmployeeCode, MinimumSalary, CoefficientSalary, BasicSalary, InsuranceSalary,
                StipulatedTime, WorkHour, LateEarlyHour, MinusLateEarly, MinusMoney, AllowanceInsurance, Allowance, TotalSalary, SocialInsurance,
                HealthInsurance, UnemploymentInsurance, Insurance, Union, IncomeTax, NumberDepend, DependMoney, IncomeTaxRemain, IncomeTaxMoney,
                RemainSalary, Advance, Assignment, SalaryPlus, SalaryMinus, Salary, SalaryPay, SalaryDebt);
        }
        public int HRM_SALARY_Update(Guid SalaryTableListID, string EmployeeCode, decimal MinimumSalary, double CoefficientSalary,
            decimal BasicSalary, decimal InsuranceSalary, double StipulatedTime, double WorkHour, double LateEarlyHour,
            decimal MinusLateEarly, decimal MinusMoney, decimal AllowanceInsurance, decimal Allowance, decimal TotalSalary,
            decimal SocialInsurance, decimal HealthInsurance, decimal UnemploymentInsurance, decimal Insurance, decimal Union,
            decimal IncomeTax, int NumberDepend, decimal DependMoney, decimal IncomeTaxRemain, decimal IncomeTaxMoney, 
            decimal RemainSalary, decimal Advance, decimal Assignment, decimal SalaryPlus, decimal SalaryMinus, decimal Salary,
            decimal SalaryPay, decimal SalaryDebt)
        {
            return SALARY.HRM_SALARY_Update(SalaryTableListID, EmployeeCode, MinimumSalary, CoefficientSalary, BasicSalary, InsuranceSalary,
                StipulatedTime, WorkHour, LateEarlyHour, MinusLateEarly, MinusMoney, AllowanceInsurance, Allowance, TotalSalary, SocialInsurance,
                HealthInsurance, UnemploymentInsurance, Insurance, Union, IncomeTax, NumberDepend, DependMoney, IncomeTaxRemain, IncomeTaxMoney,
                RemainSalary, Advance, Assignment, SalaryPlus, SalaryMinus, Salary, SalaryPay, SalaryDebt);
        }
    
    
 
 
 


   
   
       
    }
}
